<select name="<%=(String) request.getAttribute("nomForm")%>">
	<%
	
		if( (String) request.getAttribute("select") == null )
		{
			out.println("<option selected value=\"" + -1 + "\">Jour</option>");
		}

		for (int i = 1; i < 32; i++)
		{
			if (request.getAttribute("select") != null && (i+"").compareTo((String) request.getAttribute("select")) == 0 )
			{
				out.println("<option selected value=\"" + i
						+ "\">" + i + "</option>");
			} else {
				out.println("<option value=\"" + i + "\">"
						+ i + "</option>");
			}
		}
	%>
</select>